package com.hanains.omo.dao;

import java.util.List;

import com.hanains.base.dao.BaseDAO;
import com.hanains.omo.dto.UserDTO;

public interface UserDAO extends BaseDAO {

	/**
	 * 
	 * @param dto
	 * @return
	 * @throws Exception
	 */
	public boolean insert(UserDTO dto) throws Exception;

	/**
	 * 
	 * @param dto
	 * @return
	 * @throws Exception
	 */
	public boolean update(UserDTO dto) throws Exception;

	/**
	 * 
	 * @param dto
	 * @return
	 * @throws Exception
	 */
	public boolean delete(UserDAO dto) throws Exception;

	/**
	 * 
	 * @param uid
	 * @return
	 * @throws Exception
	 */
	public UserDTO get(long uid) throws Exception;

	/**
	 * 
	 * @return
	 * @throws Exception
	 */
	public List<UserDTO> getAll() throws Exception;

	// TODO

}
